<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="application" />
<title>质量监督申请</title>
</head>
<body>
<div id="heading" class="application"><h6>质量监督申请</h6></div>
	<div id="message">
		<s:actionmessage theme="custom" cssClass="success" />
	</div>
	<form action="${ctx }/business/application!own.action" method="post" id="mainForm"
		class="yform">
		<div id="filter">
			<ul>
				<li>项目名称：<input type="text"
					name="filter_LIKES_projectInfo.projName"
					value="${param['filter_LIKES_projectInfo.projName']}" />
				</li>
				<li>申请编号：<input type="text" name="filter_LIKES_applicationCode"
					value="${param['filter_LIKES_applicationCode']}" />
				</li>
			</ul>
			<div class="type-button">
				<input type="button" value="查询" onclick="search();" class='search' />
			</div>
		</div>
		<div id="content">
			<table>
				<tr>
					<th><a id="createDate" href="javascript:sort('createDate','asc')">序号</a></th>
					<th>项目名称</th>
					<th>申请编号</th>
					<th>申请单位</th>
					<th>申请日期</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${page.result }" var="flowApplication"
					varStatus="status">
					<tr>
						<td>${page.first+status.index}</td>
						<td><pt:text limit="15"><pt:labels type="proj" single="true"
								argument1="${flowApplication.projectInfo.id }"></pt:labels></pt:text>
						</td>
						<td>${flowApplication.applicationCode }</td>
						<td><pt:text limit="8"><pt:labels type="org"
								argument1="${flowApplication.orgId }" single="true"></pt:labels></pt:text>
						</td>
						<td><fmt:formatDate
								value="${flowApplication.prepareDate }" pattern="yyyy-MM-dd" />
						</td>
						<td><a
							href="javascript:openAlone('${ctx}/business/application!judge.action?id=${flowApplication.id }&flowId=${flowApplication.id}&projectId=${flowApplication.projectInfo.id}')">处理</a>
							<a href="javascript:openAlone('${ctx}/business/application/history.action?key=${flowApplication.id}&pngFileName=apply.png&projectId=${flowApplication.projectInfo.id}&fid=${flowApplication.id}')">状态</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
		<jsp:include page="/common/page.jsp" flush="true" />
	</form>
</body>